#include <iostream>
#include <string.h>
#include<compl.h>
using namespace std;

int main()
{
   double a, b;
   double c, d;


cout<< "Enter Re1: ";
       cin>> a;

cout<< "Enter Im1: ";
       cin>> b;

cout<< "Enter Re2: ";
       cin>> c;

cout<< "Enter Im2: ";
       cin>> d;

Compl x1(a, b), x2(c, d);
Compl x3=x1*x2;
int ostream(Compl x);
cout<<"Umnozhenie: "<<x3<<"\n";
Compl x4=x1+x2;
cout<<"Plus: "<<x4.Re<<"+i"<<x4.Im<<"\n";
Compl x5=x1-x2;
cout<<"Minus: "<<x5.Re<<"+i"<<x5.Im<<"\n";
Compl x6=x1/x2;
cout<<"Delenie: "<<x6.Re<<"+i"<<x6.Im<<"\n";
return 0;
}

